 <extend name="public/base" />

  <block name="wrapper">

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">请登录</h3>
                    </div>
                    <div class="panel-body">
                        <form role="form" action="{:U('Login/doLogin')}" method="post">                                                              
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" placeholder="请输入用户名" name="username" value="" type="text" autofocus></div>
                                <div class="form-group">
                                    <input class="form-control" placeholder="Password" name="password" type="password" value=""></div>
                                 <div class="form-group">
                                    <input class="form-control" placeholder="请输入验证码" name="code" type="text" value=""></div>
                                 <div class="form-group">
                                    <img src="{:U('Login/sheng')}" onclick="this.src='{:U("Login/sheng")}?id='+Math.random()">

                                    </div>

                                <div class="checkbox">
                                    <label>
                                        <input name="remember" type="checkbox" value="Remember Me">Remember Me</label>
                                </div>
                                <!-- Change this to a button or input when using this as a form -->
                                <!-- <a href="" class="btn btn-lg btn-success btn-block">登录</a> -->
                                <button class="btn btn-lg btn-success btn-block">登录</button>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>


 </block>